package Month5;

import java.io.*;

public class A20250525dingzhen
{
    public static void main(String[] args) throws IOException
    {
        File file = new File("丁真.jpg");
        FileInputStream fileInputStream = new FileInputStream(file);
        FileOutputStream fileOutputStream = new FileOutputStream("丁真2.jpg");
        for(int i = 0; i < 100000000; i++)
        {
            int b = fileInputStream.read();
            if(b != -1)
            {
                fileOutputStream.write(b);
            }
            else
            {
                break;
            }


        }
    }


}
